import Vue from 'vue'
import App from './App'
import wxAuthPhone from './components/authPhone/authPhone.vue'
import wxAuthAvatar from "./components/authAvatar/authAvatar.vue"

// 增加全局拦截
Vue.prototype.$onLaunched = new Promise(resolve => {
    Vue.prototype.$isResolve = resolve
})

Vue.component('wxAuthPhone',wxAuthPhone)
Vue.component('wxAuthAvatar',wxAuthAvatar)

Vue.config.productionTip = false

App.mpType = 'app'

const app = new Vue({
    ...App
})

app.$mount()
